gdk/wayland: Listen to wl_surface events on tablet cursors
authorCarlos Garnacho <carlosg@gnome.org>
Thu, 18 Apr 2019 17:31:55 +0000 (19:31 +0200)
committerCarlos Garnacho <carlosg@gnome.org>
Thu, 18 Apr 2019 17:27:29 +0000 (19:27 +0200)
commit50eb11a2a0c9abce03c62ea9b9425999aac67552
tree8e51f32efb6a59dc78d228f856859f2d1b5a9efc
parente8f898508ac7837cfead9dba7b4f4207470c4772
gdk/wayland: Listen to wl_surface events on tablet cursors

And update the surface accordingly (eg. scale on hidpi). The mechanism
that did that for wl_pointer has been made generic so it can be shared
with tablets too.

Closes: https://gitlab.gnome.org/GNOME/gtk/issues/1675
gdk/wayland/gdkdevice-wayland.c